Success and Failure for Hereditary Harrop Formulae
نویسنده
چکیده
We introduce the foundational issues involved in incorporating the Negation as Failure (NAF) rule into the framework of rst-order hereditary Harrop formulae of Miller et al. This is a larger class of formulae than Horn clauses, and so the technicalities are more intricate than in the Horn clause case. As programs may grow during execution in this framework, the role of NAF and the Closed World Assumption (CWA) need some modiication, and for this reason we introduce the notion of a completely deened predicate, which may be thought of as a localisation of the CWA. We also show how this notion may be used to deene a notion of NAF for a more general class of goals than literals alone. We also show how an extensional notion of universal quantiication may be incorporated. This makes our framework somewhat diierent from that of Miller et al., but not essentially so. We also show how to construct a Kripke-like model for the extended class of programs. This is essentially a denotational semantics for logic programs, in that it provides a mapping from the program to a pair of sets of atoms which denote the success and ((nite) failure sets. This is inspired by the work of Miller on the semantics of rst-order hereditary Harrop formulae. Note that no restriction on the class of programs is needed in this approach, and that our construction needs no more than ! iterations. This necessitates a slight departure from the standard methods, but the important properties of the construction still hold.
منابع مشابه
On hereditary Harrop formulae as a basis for logic programming
This thesis examines the use of first-order hereditary Harrop formulae, a generalisation of Horn clauses due to Miller, as a foundation for logic programming. As this framework is constructive, this will sometimes dictate an approach whicli differs slightly from the traditional (classical) one. We discuss the foundational problems involved in adding negation to the framework of first-order here...
متن کاملA Clausal Form for the Completion of Logic Programs
The Clark completion of a program is a way of making explicit the inferences which may be made from the program using the Negation as Failure (NAF) rule. This may be thought of as adding negative information to the program in such a way that an atom fails ii its negation is derivable from the completion of the program. We show how the completion process may be extended to hereditary Harrop form...
متن کاملA Proof-Theoretic Analysis of Goal-Directed Provability
Uniform proofs have been presented as a basis for logic programming, and it is known that by restricting the class of formulae it is possible to guarantee that uniform proofs are complete with respect to provability in intuitionistic logic. In this paper we explore the relationship between uniform proofs and classes of formulae more deeply. Firstly we show that uniform proofs arise naturally as...
متن کاملA Kripke-like Model for Negation as Failure
We extend the Kripke-like model theory given in 10] for a fragment of rst-order hereditary Harrop formulae to include negated atoms in goals. This gives us a formal framework in which to study the role of Negation as Failure rule. The class of predicates for which Negation As Failure is applicable is discussed, as well as the predicates for which some other form of negation will need to be used...
متن کاملStructural Properties of Logic Programs
Miller has shown that disjunctions are not necessary in a large fragment of hereditary Harrop formulae, a class of formulae which properly includes Horn clauses. In this paper we extend this result to include existential quantiications, so that for each program D, there is a program D 0 which is operationally equivalent, but contains no disjunctions or existential quantiications. We may think o...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- J. Log. Program.
دوره 17 شماره
صفحات -
تاریخ انتشار 1993